package com.yunding.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.yunding.dto.EmptyClassDTO;
import com.yunding.dto.StudentClassInfoDTO;
import com.yunding.dto.UpdateClassDto;
import com.yunding.entity.FreeClass;

import java.lang.reflect.InvocationTargetException;

/**
 * @author lgr
 */
public interface EmptyClassService extends IService<FreeClass> {
    /**
     * 新增空课信息
     * @param emptyClassFrom
     * @return
     */
    Boolean registerClass(EmptyClassDTO emptyClassFrom) throws InvocationTargetException, IllegalAccessException;
    /**
     * 修改空课信息
     * @param emptyClassFrom
     * @return
     * @exception InvocationTargetException ds
     * @exception IllegalAccessException sd
     */
    Boolean updateClass(EmptyClassDTO emptyClassFrom) throws InvocationTargetException, IllegalAccessException;
    /**
     * 返回指定学生的课程信息
     */
    StudentClassInfoDTO selectClassInfo(UpdateClassDto updateClassDto) throws InvocationTargetException, IllegalAccessException;
}
